var a = getApp();

Page({
    data: {},
    onLoad: function(a) {
        this.getdata();
    },
    good_manage: function() {
        wx.navigateTo({
            url: "/packageD/auction/auctioneer-manage/good_manage/good_manage"
        });
    },
    toOrder: function() {
        wx.navigateTo({
            url: "/packageA/member/myOrder_v2/myOrder_v2?status=0&orderType=auction"
        });
    },
    tixian: function() {
        wx.reLaunch({
            url: "/packageG/pages/member/extension/extension"
        });
    },
    myMoney: function() {
        wx.navigateTo({
            url: "/packageD/auction/auctioneer-manage/my_money/my_money?type=auction"
        });
    },
    passwork: function() {
        wx.navigateTo({
            url: "/packageD/auction/auctioneer-manage/password_change/password_change"
        });
    },
    share: function() {
        wx.navigateTo({
            url: "/packageD/auction/auctioneer-manage/shop_share/shop_share"
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {},
    getdata: function() {
        var n = this, o = a.getNetAddresss("plugin.auction.api.index.getAuctionData");
        a._postNetWork({
            url: o,
            data: {
                art: "auctioneer"
            },
            success: function(a) {
                var o = a.data;
                1 == o.result ? (console.log(o), n.setData({
                    info: o.data.auctioneer
                })) : wx.showToast({
                    title: o.msg,
                    icon: "none",
                    duration: 1e3
                });
            },
            fail: function(a) {
                console.log(a);
            }
        });
    }
});